import { Route } from 'react-router-dom'
import Nav from './nav.js'
import IndexPage from './views/index.js'
import AboutPage from './views/about.js'
import JoinUsPage from './views/joinUs.js'


function App() {
  return (
    <div>
      <Nav />
      <Route path={ ['/','index']} exact strict component={IndexPage}></Route>
      <Route path='/about' exact strict component={AboutPage}></Route>
      <Route path='/joinUs' exact strict component={JoinUsPage}></Route>
    </div>
  );
}

export default App;
